home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Source Code
/
C
/
Applications
/
Fixation 1.3
/
graphics.h
< prev
next >
Wrap
Text File
|
1996-02-16
|
855b
|
44 lines
// graphics.h
enum {
kDDDDummyval = -1,
kmaxpix = 8,
kmaxframes = 24,
kmaxgworlds = 1,
kSquareSize = 32,
kBoardSize = kSquareSize * 8,
kStatY = 24,
kHeader = 14,
kWinHeight = kBoardSize + kStatY * 2 + kHeader,
kBugsize = 24,
kFooterSize = 18,
kBugY = kBugsize * 5,
kBugspace = 40,
kBotBug = kWinHeight - kBugY,
kBugPadding = 16,
Bwhite = 0,
Bblack,
BwhiteModern,
BblackModern,
BwhiteApple,
BblackApple,
Bwhite2bit,
Bblack2bit
// remember to change kmaxpix . . .
// BWship = 0,
};
extern GWorldPtr boff;
extern Rect blockrect[kmaxpix], blockrectworld[kmaxgworlds], boffrect;
extern Fastmap *bpix[kmaxpix][kmaxframes];
extern GWorldPtr bworld[kmaxgworlds];
extern GWorldPtr bmask[kmaxgworlds];
extern ColorTable **colorTab;
extern GDHandle maindev;
extern RGBColor wcol, bcol, rgbBlack, bugcol;
void LoadAllGraphics(void);